package com.zhuoli.zblog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Author: zhuoli
 * Description:
 * Date: 下午9:38 2018/4/14
 */
@Controller
public class HomeController {

    @RequestMapping(value = {"/index", "/"})
    public String defaultInput() {
        return "index";
    }

    @RequestMapping("/index_v1")
    public String index_v1() {
        return "index_v1";
    }

    @RequestMapping("/index_v3")
    public String index_v3() {
        return "index_v3";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/register")
    public String register(){
        return "register";
    }
}
